package SOSO;

import lombok.Data;

@Data
public class TalkPackage extends ServicePackage implements CallService,SendService{
    private int talkTime;
    private int smsCount;

    public TalkPackage() {
        this.talkTime = 500;
        this.smsCount = 30;
        this.price = 58.0;
    }

    @Override

    public void showInfo() {
        System.out.println("话痨套餐：通话时长为"+talkTime+"分钟/月，短信条数为"+smsCount+"条/月。");
    }

    @Override
    public int call(int minCount, MobileCard card) {
        return 0;
    }

    @Override
    public int send(int count, MobileCard card) {
        return 0;
    }
}
